package com.chinatelecom.common.thread;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 根据Message.what 匹配处理消息 demo：MessageCenterHandler.sendMessage(1); @MessageHandler(1)
 * @author zhangluya on 2015/11/2.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface MessageHandler {

    int value() default 0;
}
